package com.cloud.model.entity.accesstoken;

import com.cloud.model.entity.base.BaseEntity;
import io.swagger.annotations.ApiModelProperty;

import javax.persistence.Column;
import javax.persistence.Entity;

@Entity(name = "t_access_token")
public class AccessToken extends BaseEntity{

    @ApiModelProperty("token有效时间")
    @Column(name = "expires_in")
    private Integer expiresIn;

    @ApiModelProperty("微信AccessToken")
    @Column(name = "access_token")
    private String accessToken;

    public Integer getExpiresIn() {
        return expiresIn;
    }

    public void setExpiresIn(Integer expiresIn) {
        this.expiresIn = expiresIn;
    }

    public String getAccessToken() {
        return accessToken;
    }

    public void setAccessToken(String accessToken) {
        this.accessToken = accessToken;
    }
}
